//
//  MomentItemModel.m
//  WeChatMoments
//
//  Created by Jiang on 2019/8/25.
//  Copyright © 2019 SilverFruity. All rights reserved.
//

#import "MomentItem.h"
#

@implementation ImagesItem

@end


@implementation Sender

@end


@implementation CommentsItem

@end

@implementation MomentItem
- (NSInteger)cellCount{
    NSInteger count = 3;
    count = count + (self.comments.count > 1 ? 1 : 0);
    return count;
}
+ (NSDictionary *)modelContainerPropertyGenericClass {
    // value should be Class or Class name.
    return @{@"images" : [ImagesItem class],
             @"comments" : [CommentsItem class]};
}
@end
